import Vuex from 'vuex';
import Vue from 'vue';
import home from './home';
import search from './search';
import detail from './detail';
import shopCart from './shopcart';
import user from './user';
import trade from './trade';
import order from './order';
import center from './center';
Vue.use(Vuex);



export default new Vuex.Store({
  modules:{
    home,
    search,
    detail,
    shopCart,
    user,
    trade,
    order,
    center,
  }
})